package com.cn.study.constant;

/**
 * @author zdl
 * @date 2021/12/9 14:25
 */
public enum RespCodeEnum {
    SMS_SEND_ERROR(1011,"短信发送错误")
    ,SMS_NONSUPPORT_PHONE(1012,"不支持该手机号")
    ,SMS_PHONE_COUNT_LIMIT(1013,"该手机号发送频次过高")
    ,SMS_PHONE_DAY_COUNT_LIMIT(1014,"发送频次过高已限额,请明日再试")
    ;
    private int code;
    private String msg;

    RespCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
